home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
kcl
/
kcl.lha
/
h
/
fasl_reloc.h
< prev
next >
Wrap
Text File
|
1987-06-04
|
2KB
|
106 lines
/*
(C) Copyright Taiichi Yuasa and Masami Hagiya, 1984. All rights reserved.
*/
enum reloc_type {
RL_ABSOLUTE = 0,
RL_WORD,
RL_BYTE,
RL_DISPLACEMENT,
RL_SUBTRACTION1,
RL_OVERLAY,
RL_MULTIPLY,
RL_LINK16,
RL_CALL,
RL_GREF,
RL_PC_RELATIVE_15,
RL_TARGET,
RL_PC_RELATIVE_16,
RL_SUBTRACTION2,
RL_PR_LINK_16 = 020,
RL_BIT_16,
RL_LINK32 = 031,
RL_PR_LINK_32,
RL_ABSOLUTE_32,
RL_BIT_32,
RL_ADDR_WORD_32_31 = 040,
RL_ADDR_BYTE_32_31,
RL_ADDR_PC_REL_32_31,
RL_ADDR_PC_BYTE_32_31,
RL_ADDR_WORD_32_28,
RL_ADDR_BYTE_32_28,
RL_ADDR_PC_REL_32_28,
RL_ADDR_PC_BYTE_32_28,
RL_ADDR_WORD_28_31,
RL_ADDR_BYTE_28_31,
RL_ADDR_PC_REL_28_31,
RL_ADDR_PC_BYTE_28_31,
RL_DATA_ADD_32_32 = 060,
RL_DATA_SUB1_32_32,
RL_DATA_MUL_32_32,
RL_DATA_SUB2_32_32,
RL_DATA_ADD_32_16S,
RL_DATA_SUB1_32_16S,
RL_DATA_MUL_32_16S,
RL_DATA_SUB2_32_16S,
RL_DATA_ADD_32_16U,
RL_DATA_SUB1_32_16U,
RL_DATA_MUL_32_16U,
RL_DATA_SUB2_32_16U,
RL_DATA_ADD_32_16,
RL_DATA_SUB1_32_16,
RL_DATA_MUL_32_16,
RL_DATA_SUB2_32_16,
RL_ADDR_WORD_32_15U = 0100,
RL_ADDR_BYTE_32_15U,
RL_ADDR_PC_REL_32_15U,
RL_ADDR_PC_BYTE_32_15U,
RL_ADDR_WORD_32_15S,
RL_ADDR_BYTE_32_15S,
RL_ADDR_PC_REL_32_15S,
RL_ADDR_PC_BYTE_32_15S
};
#define INDIRECT_BIT 020000000000
#define INDIRECT_BIT16 000000100000
#define RING_BITS 016000000000
#define HIGH4_BITS16 000000170000
#define LOW31_BITS 017777777777
#define LOW28_BITS 001777777777
#define LOW16_BITS 000000177777
#define LOW15_BITS 000000077777
#define LOW8_BITS 000000000377
#define BIT_0 020000000000
#define BIT_1 010000000000
#define BIT_2 004000000000
#define BIT_3 002000000000
#define BIT_4 001000000000
#define BIT_5 000400000000
#define BIT_6 000200000000
#define BIT_7 000100000000
#define BIT_8 000040000000
#define BIT_9 000020000000
#define BIT_10 000010000000
#define BIT_11 000004000000
#define BIT_12 000002000000
#define BIT_13 000001000000
#define BIT_14 000000400000
#define BIT_15 000000200000
#define BIT_16 000000100000
#define BIT_17 000000040000
#define BIT_18 000000020000
#define BIT_19 000000010000
#define BIT_20 000000004000
#define BIT_21 000000002000
#define BIT_22 000000001000
#define BIT_23 000000000400
#define BIT_24 000000000200
#define BIT_25 000000000100
#define BIT_26 000000000040
#define BIT_27 000000000020
#define BIT_28 000000000010
#define BIT_29 000000000004
#define BIT_30 000000000002
#define BIT_31 000000000001